///////////////////////////////////////////////////////////////////////////////
// Name:        ilmatrixoperations.h
// Purpose:     operations on matrices
// Created:     2006
// Copyright:   (c) 2006, Ivan Laptev, TT Solutions
// License:     GPL, Please contact us for commercial license.
//              http://www.tt-solutions.com/
///////////////////////////////////////////////////////////////////////////////
#ifndef ILMATRIXOPERATIONS_H_
#define ILMATRIXOPERATIONS_H_

#include "objectdet/common.h"

void ilEuclidDist(pMat const& src1, pMat const& src2, pMat dst);
void ilEuclidNorm(pMat const& srcarr, pMat dstarr);
void ilMaxRowFloat(pMat const& srcarr, pMat maxvalarr, pMat maxindarr, int absflag = 0);
void ilMaxColFloat(pMat const& srcarr, pMat maxvalarr, pMat maxindarr, int absflag = 0);
void ilMaxProjectFloat(pMat const& src1, pMat const& src2, pMat maxvalarr, pMat maxindarr);
void ilMatFunTest();

void ilRGB2Gray(pImage srcarr, pMat dstarr);
#endif

